from Products.Five import zcml
from Products.Five import fiveconfigure

from Testing import ZopeTestCase as ztc

from Products.PloneTestCase import PloneTestCase as ptc
from Products.PloneTestCase.layer import onsetup

@onsetup
def setup_carielogrill_policy():
    
    fiveconfigure.debug_mode = True
    import cariellogrill.policy
    zcml.load_config('configure.zcml', cariellogrill.policy)
    fiveconfigure.debug_mode = False
    
    ztc.installPackage('cariellogrill.policy')
    

setup_carielogrill_policy()

ptc.setupPloneSite(products=['cariellogrill.policy'])

class CariellogrillPolicyTestCase(ptc.PloneTestCase):
    """classe base para testes
    """
    